<template>
    <el-card shadow="never" style="border: 0;">
        <yun-form
                :data="row"
                :columns="columns">
                <template #default>
                    {:token_field()}
                </template>
        </yun-form>
    </el-card>
</template>
<script>
    import form from "@components/Form.js";
    export default{
        components:{
            'YunForm':form
        },
        data:{
            columns:[
                {field:"id",title:"ID",width:80,edit:"hidden"},
                {field:"gird_title",title:"网格名称",edit:"text",rules:"required"},
                {
                    field:"drivers",
                    title:"司机",
                    edit:{"form":"selectpage","value":[],"url":"delivery/channel-staff/index?type=Driver","labelField":"realname","keyField":"id","multiple":true},
                },
                {field:"area_range",title:"网格范围",edit:{form: 'input',type:'textarea',rows:10}},
            ],
            row:Yunqi.data.row
        }
    }
</script>
<style>

</style>
